package character.ai;

import com.jme3.scene.Spatial;

public class AILogicRoamControl extends AILogicControl {
    
    @Override
    protected void controlUpdate(float tpf) {
        if(!characterControl.hasQueuedAction()) {
            takeTurn();
        }
    }

    @Override
    public AILogicRoamControl cloneForSpatial(Spatial spatial) {
        AILogicRoamControl clone = new AILogicRoamControl();
        clone.setSpatial(spatial);
        return clone;
    }
}
